0.3.0 - Second STU ballot

This page is part of the Da Vinci Coverage Requirements Discovery (CRD) FHIR IG (v0.3.0: STU 1 Ballot 2) based on FHIR R4. The current version which supercedes this version is 1.0.0. For a full list of available versions, see the Directory of published versions

StructureDefinition: VisionPrescriptionSTU3

The official URL for this profile is:

http://hl7.org/fhir/us/davinci-crd/STU3/StructureDefinition/profile-visionprescription-stu3

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

NameFlagsCard.TypeDescription & Constraintsdoco
.. VisionPrescription I0..*Prescription for vision correction products for a patient
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: Common Languages (extensible)
Max Binding: All Languages
... text I0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... ext-insurance SI0..*Reference(CoverageSTU3)Insurance
URL: http://hl7.org/fhir/us/davinci-crd/STU3/StructureDefinition/ext-insurance
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier S0..*IdentifierBusiness identifier
... status ?!SΣ1..1codeactive | cancelled | draft | entered-in-error
Binding: Financial Resource Status Codes (required)
Fixed Value: draft
... patient S1..1Reference(PatientSTU3)Who prescription is for
... encounter 0..1Reference(EncounterSTU3)Created during encounter / admission / stay
... dateWritten S1..1dateTimeWhen prescription was authorized
... prescriber S1..1Reference(PractitionerSTU3)Who authorizes the vision product
... reason[x] S0..1CodeableConcept, Reference(US Core Condition Profile)Reason or indication for writing the prescription
... dispense SI0..*BackboneElementVision supply authorization
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... product 0..1CodeableConceptProduct to be supplied
Binding: Example Vision Prescription Product Codes (example)
.... eye 0..1coderight | left
Binding: VisionEyes (required)
.... sphere 0..1decimalLens sphere
.... cylinder 0..1decimalLens cylinder
.... axis 0..1integerLens axis
.... prism 0..1decimalLens prism
.... base 0..1codeup | down | in | out
Binding: VisionBase (required)
.... add 0..1decimalLens add
.... power 0..1decimalContact lens power
.... backCurve 0..1decimalContact lens back curvature
.... diameter 0..1decimalContact lens diameter
.... duration 0..1SimpleQuantityLens wear duration
.... color 0..1stringColor required
.... brand 0..1stringBrand required
.... note 0..*AnnotationNotes for coatings

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. VisionPrescription I0..*Prescription for vision correction products for a patient
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: Common Languages (extensible)
Max Binding: All Languages
... text I0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... ext-insurance SI0..*Reference(CoverageSTU3)Insurance
URL: http://hl7.org/fhir/us/davinci-crd/STU3/StructureDefinition/ext-insurance
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier S0..*IdentifierBusiness identifier
... status ?!SΣ1..1codeactive | cancelled | draft | entered-in-error
Binding: Financial Resource Status Codes (required)
Fixed Value: draft
... patient S1..1Reference(PatientSTU3)Who prescription is for
... encounter 0..1Reference(EncounterSTU3)Created during encounter / admission / stay
... dateWritten S1..1dateTimeWhen prescription was authorized
... prescriber S1..1Reference(PractitionerSTU3)Who authorizes the vision product
... reason[x] S0..1CodeableConcept, Reference(US Core Condition Profile)Reason or indication for writing the prescription
... dispense SI0..*BackboneElementVision supply authorization
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... product 0..1CodeableConceptProduct to be supplied
Binding: Example Vision Prescription Product Codes (example)
.... eye 0..1coderight | left
Binding: VisionEyes (required)
.... sphere 0..1decimalLens sphere
.... cylinder 0..1decimalLens cylinder
.... axis 0..1integerLens axis
.... prism 0..1decimalLens prism
.... base 0..1codeup | down | in | out
Binding: VisionBase (required)
.... add 0..1decimalLens add
.... power 0..1decimalContact lens power
.... backCurve 0..1decimalContact lens back curvature
.... diameter 0..1decimalContact lens diameter
.... duration 0..1SimpleQuantityLens wear duration
.... color 0..1stringColor required
.... brand 0..1stringBrand required
.... note 0..*AnnotationNotes for coatings

doco Documentation for this format

 

Other representations of profile: Schematron

Terminology Bindings

PathConformanceValueSet / Code
VisionPrescription.statusrequiredFixed Value: draft

Constraints

IdPathDetailsRequirements
dom-2VisionPrescriptionIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-1VisionPrescriptionIf the resource is contained in another resource, it SHALL NOT contain any narrative
: contained.text.empty()
dom-4VisionPrescriptionIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-3VisionPrescriptionIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource
: contained.where(('#'+id in %resource.descendants().reference).not()).empty()
ele-1VisionPrescription.extensionAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
ext-1VisionPrescription.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1VisionPrescription.extensionAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())
ext-1VisionPrescription.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1VisionPrescription.dispenseAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())